package cn.pupil.design.user;

import cn.pupil.design.visitor.Visitor;

/**
 * @Description: 用户类
 * @Author: pupil
 * @Date: 2024/08/02 上午 10:24
 */
public abstract class User {

    public String name; // 姓名
    public String identity; // 身份：重点班、普通班 | 特级教师、普通教师、实习教师
    public String clazz; // 班级

    public User(String name, String identity, String clazz) {
        this.name = name;
        this.identity = identity;
        this.clazz = clazz;
    }

    public abstract void accept(Visitor visitor);
}
